0 CpxTRS
↳1 TrsToWeightedTrsProof (BOTH BOUNDS(ID, ID), 0 ms)
↳2 CpxWeightedTrs
↳3 CpxWeightedTrsRenamingProof (BOTH BOUNDS(ID, ID), 0 ms)
↳4 CpxWeightedTrs
↳5 TypeInferenceProof (BOTH BOUNDS(ID, ID), 0 ms)
↳6 CpxTypedWeightedTrs
↳7 CompletionProof (UPPER BOUND(ID), 0 ms)
↳8 CpxTypedWeightedCompleteTrs
↳9 NarrowingProof (BOTH BOUNDS(ID, ID), 15 ms)
↳10 CpxTypedWeightedCompleteTrs
↳11 CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID), 0 ms)
↳12 CpxRNTS
↳13 InliningProof (UPPER BOUND(ID), 688 ms)
↳14 CpxRNTS
↳15 SimplificationProof (BOTH BOUNDS(ID, ID), 0 ms)
↳16 CpxRNTS
↳17 CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID), 0 ms)
↳18 CpxRNTS
↳19 IntTrsBoundProof (UPPER BOUND(ID), 521 ms)
↳20 CpxRNTS
↳21 IntTrsBoundProof (UPPER BOUND(ID), 83 ms)
↳22 CpxRNTS
↳23 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳24 CpxRNTS
↳25 IntTrsBoundProof (UPPER BOUND(ID), 188 ms)
↳26 CpxRNTS
↳27 IntTrsBoundProof (UPPER BOUND(ID), 27 ms)
↳28 CpxRNTS
↳29 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳30 CpxRNTS
↳31 IntTrsBoundProof (UPPER BOUND(ID), 1309 ms)
↳32 CpxRNTS
↳33 IntTrsBoundProof (UPPER BOUND(ID), 964 ms)
↳34 CpxRNTS
↳35 FinalProof (⇔, 0 ms)
↳36 BOUNDS(1, n^2)
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
p(s(x)) → x
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x))))
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x)))
-(x, 0) → x [1]
-(s(x), s(y)) → -(x, y) [1]
p(s(x)) → x [1]
f(s(x), y) → f(p(-(s(x), y)), p(-(y, s(x)))) [1]
f(x, s(y)) → f(p(-(x, s(y))), p(-(s(y), x))) [1]
- => minus |
minus(x, 0) → x [1]
minus(s(x), s(y)) → minus(x, y) [1]
p(s(x)) → x [1]
f(s(x), y) → f(p(minus(s(x), y)), p(minus(y, s(x)))) [1]
f(x, s(y)) → f(p(minus(x, s(y))), p(minus(s(y), x))) [1]
minus(x, 0) → x [1]
minus(s(x), s(y)) → minus(x, y) [1]
p(s(x)) → x [1]
f(s(x), y) → f(p(minus(s(x), y)), p(minus(y, s(x)))) [1]
f(x, s(y)) → f(p(minus(x, s(y))), p(minus(s(y), x))) [1]
minus :: 0:s → 0:s → 0:s 0 :: 0:s s :: 0:s → 0:s p :: 0:s → 0:s f :: 0:s → 0:s → f |
(a) The obligation is a constructor system where every type has a constant constructor,
(b) The following defined symbols do not have to be completely defined, as they can never occur inside other defined symbols:
f
p
minus
p(v0) → 0 [0]
minus(v0, v1) → 0 [0]
const
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
0 => 0
const => 0
f(z, z') -{ 3 }→ f(p(minus(x, y')), p(minus(y', x))) :|: x >= 0, y' >= 0, z = 1 + x, z' = 1 + y'
f(z, z') -{ 2 }→ f(p(minus(x, y')), p(0)) :|: x >= 0, y' >= 0, z = 1 + x, z' = 1 + y'
f(z, z') -{ 3 }→ f(p(minus(x'', y)), p(minus(y, x''))) :|: z = 1 + x'', z' = 1 + y, y >= 0, x'' >= 0
f(z, z') -{ 2 }→ f(p(minus(x'', y)), p(0)) :|: z = 1 + x'', z' = 1 + y, y >= 0, x'' >= 0
f(z, z') -{ 2 }→ f(p(0), p(minus(x', x))) :|: z' = 1 + x', x >= 0, x' >= 0, z = 1 + x
f(z, z') -{ 2 }→ f(p(0), p(minus(y, y''))) :|: z' = 1 + y, z = 1 + y'', y >= 0, y'' >= 0
f(z, z') -{ 1 }→ f(p(0), p(0)) :|: x >= 0, y >= 0, z = 1 + x, z' = y
f(z, z') -{ 1 }→ f(p(0), p(0)) :|: z' = 1 + y, x >= 0, y >= 0, z = x
f(z, z') -{ 2 }→ f(p(0), p(1 + y)) :|: z' = 1 + y, y >= 0, z = 0
f(z, z') -{ 2 }→ f(p(1 + x), p(0)) :|: x >= 0, z = 1 + x, z' = 0
minus(z, z') -{ 1 }→ x :|: x >= 0, z = x, z' = 0
minus(z, z') -{ 1 }→ minus(x, y) :|: z' = 1 + y, x >= 0, y >= 0, z = 1 + x
minus(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
p(z) -{ 1 }→ x :|: x >= 0, z = 1 + x
p(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
p(z) -{ 1 }→ x :|: x >= 0, z = 1 + x
p(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
f(z, z') -{ 3 }→ f(x', 0) :|: x >= 0, z = 1 + x, z' = 0, x' >= 0, 1 + x = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(p(minus(x, y')), p(minus(y', x))) :|: x >= 0, y' >= 0, z = 1 + x, z' = 1 + y'
f(z, z') -{ 2 }→ f(p(minus(x, y')), 0) :|: x >= 0, y' >= 0, z = 1 + x, z' = 1 + y', v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(p(minus(x'', y)), p(minus(y, x''))) :|: z = 1 + x'', z' = 1 + y, y >= 0, x'' >= 0
f(z, z') -{ 2 }→ f(p(minus(x'', y)), 0) :|: z = 1 + x'', z' = 1 + y, y >= 0, x'' >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' = 1 + y, y >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + y = 1 + x
f(z, z') -{ 2 }→ f(0, p(minus(x', x))) :|: z' = 1 + x', x >= 0, x' >= 0, z = 1 + x, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, p(minus(y, y''))) :|: z' = 1 + y, z = 1 + y'', y >= 0, y'' >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: x >= 0, z = 1 + x, z' = 0, v0 >= 0, 1 + x = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: x >= 0, y >= 0, z = 1 + x, z' = y, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' = 1 + y, y >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + y = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z' = 1 + y, x >= 0, y >= 0, z = x, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 }→ x :|: x >= 0, z = x, z' = 0
minus(z, z') -{ 1 }→ minus(x, y) :|: z' = 1 + y, x >= 0, y >= 0, z = 1 + x
minus(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
p(z) -{ 1 }→ x :|: x >= 0, z = 1 + x
p(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(p(minus(z - 1, z' - 1)), p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 }→ f(p(minus(z - 1, z' - 1)), 0) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 1 }→ minus(z - 1, z' - 1) :|: z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
{ minus } { p } { f } |
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(p(minus(z - 1, z' - 1)), p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 }→ f(p(minus(z - 1, z' - 1)), 0) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 1 }→ minus(z - 1, z' - 1) :|: z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(p(minus(z - 1, z' - 1)), p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 }→ f(p(minus(z - 1, z' - 1)), 0) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 1 }→ minus(z - 1, z' - 1) :|: z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: ?, size: O(n1) [z] |
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(p(minus(z - 1, z' - 1)), p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 }→ f(p(minus(z - 1, z' - 1)), 0) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, p(minus(z' - 1, z - 1))) :|: z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 1 }→ minus(z - 1, z' - 1) :|: z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] |
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 + z + z' }→ f(p(s'), p(s'')) :|: s' >= 0, s' <= 1 * (z - 1), s'' >= 0, s'' <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 + z' }→ f(p(s1), 0) :|: s1 >= 0, s1 <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 + z }→ f(0, p(s2)) :|: s2 >= 0, s2 <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 + z' }→ s :|: s >= 0, s <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] |
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 + z + z' }→ f(p(s'), p(s'')) :|: s' >= 0, s' <= 1 * (z - 1), s'' >= 0, s'' <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 + z' }→ f(p(s1), 0) :|: s1 >= 0, s1 <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 + z }→ f(0, p(s2)) :|: s2 >= 0, s2 <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 + z' }→ s :|: s >= 0, s <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] p: runtime: ?, size: O(n1) [z] |
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 + z + z' }→ f(p(s'), p(s'')) :|: s' >= 0, s' <= 1 * (z - 1), s'' >= 0, s'' <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 2 + z' }→ f(p(s1), 0) :|: s1 >= 0, s1 <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 + z }→ f(0, p(s2)) :|: s2 >= 0, s2 <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 + z' }→ s :|: s >= 0, s <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] p: runtime: O(1) [1], size: O(n1) [z] |
f(z, z') -{ 5 + z + z' }→ f(s3, s4) :|: s3 >= 0, s3 <= 1 * s', s4 >= 0, s4 <= 1 * s'', s' >= 0, s' <= 1 * (z - 1), s'' >= 0, s'' <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 3 + z' }→ f(s5, 0) :|: s5 >= 0, s5 <= 1 * s1, s1 >= 0, s1 <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 + z }→ f(0, s6) :|: s6 >= 0, s6 <= 1 * s2, s2 >= 0, s2 <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 + z' }→ s :|: s >= 0, s <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] p: runtime: O(1) [1], size: O(n1) [z] |
f(z, z') -{ 5 + z + z' }→ f(s3, s4) :|: s3 >= 0, s3 <= 1 * s', s4 >= 0, s4 <= 1 * s'', s' >= 0, s' <= 1 * (z - 1), s'' >= 0, s'' <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 3 + z' }→ f(s5, 0) :|: s5 >= 0, s5 <= 1 * s1, s1 >= 0, s1 <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 + z }→ f(0, s6) :|: s6 >= 0, s6 <= 1 * s2, s2 >= 0, s2 <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 + z' }→ s :|: s >= 0, s <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] p: runtime: O(1) [1], size: O(n1) [z] f: runtime: ?, size: O(1) [0] |
f(z, z') -{ 5 + z + z' }→ f(s3, s4) :|: s3 >= 0, s3 <= 1 * s', s4 >= 0, s4 <= 1 * s'', s' >= 0, s' <= 1 * (z - 1), s'' >= 0, s'' <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0
f(z, z') -{ 3 + z' }→ f(s5, 0) :|: s5 >= 0, s5 <= 1 * s1, s1 >= 0, s1 <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(x', 0) :|: z - 1 >= 0, z' = 0, x' >= 0, 1 + (z - 1) = 1 + x', v0 >= 0, 0 = v0
f(z, z') -{ 3 + z }→ f(0, s6) :|: s6 >= 0, s6 <= 1 * s2, s2 >= 0, s2 <= 1 * (z' - 1), z - 1 >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0
f(z, z') -{ 3 }→ f(0, x) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, x >= 0, 1 + (z' - 1) = 1 + x
f(z, z') -{ 2 }→ f(0, 0) :|: z - 1 >= 0, z' = 0, v0 >= 0, 1 + (z - 1) = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z - 1 >= 0, z' >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
f(z, z') -{ 2 }→ f(0, 0) :|: z' - 1 >= 0, z = 0, v0 >= 0, 0 = v0, v0' >= 0, 1 + (z' - 1) = v0'
f(z, z') -{ 1 }→ f(0, 0) :|: z >= 0, z' - 1 >= 0, v0 >= 0, 0 = v0, v0' >= 0, 0 = v0'
minus(z, z') -{ 1 + z' }→ s :|: s >= 0, s <= 1 * (z - 1), z - 1 >= 0, z' - 1 >= 0
minus(z, z') -{ 1 }→ z :|: z >= 0, z' = 0
minus(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
minus: runtime: O(n1) [1 + z'], size: O(n1) [z] p: runtime: O(1) [1], size: O(n1) [z] f: runtime: O(n2) [17 + 8·z + z·z' + z2 + 8·z' + z'2], size: O(1) [0] |